
layui.define(['jquery','layer','form'],function(exports){
	var $ = layui.jquery;

	// 切换验证码
	$(document).on('click','[data-verify-code]',function(ev){
		var $target = $(ev.target);
		$target.attr('src',$target.attr('data-verify-code')+'?v='+Math.random());
	});

	exports('index',{});
});
